Skip to content

C# Fixes wasi http header bug and adds a test for it#1215

Merged
yowl merged 14 commits into
bytecodealliance:mainfrom
Nor2-io:dev/timmy/wasi-http-header-bug
Apr 10, 2026
Merged

C# Fixes wasi http header bug and adds a test for it#1215
yowl merged 14 commits into
bytecodealliance:mainfrom
Nor2-io:dev/timmy/wasi-http-header-bug

Conversation

@silesmo

@silesmo silesmo commented Mar 15, 2025

Copy link
Copy Markdown
Member

Fixes a bug where headers returned from a C# component wouldn't be properly set. Adds a test for it and some cleanup.

@silesmo silesmo requested review from jsturtevant and yowl March 15, 2025 14:44

@jsturtevant jsturtevant left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the fix here around the alignment? How was the issue presenting?

Comment thread crates/csharp/src/function.rs
Comment thread crates/csharp/src/function.rs
Comment thread crates/csharp/src/function.rs Outdated
Comment thread tests/runtime/lists/test.wit
@ignatz

ignatz commented Sep 18, 2025

Copy link
Copy Markdown

I ran into this issue as well. Are there any plans to land this fix or similar? Thanks 🙏

Timmy Silesmo added 6 commits March 27, 2026 17:44
# Conflicts:
#	crates/csharp/src/function.rs
#	crates/csharp/src/interface.rs
#	crates/csharp/src/world_generator.rs
#	tests/runtime/lists.rs
#	tests/runtime/lists/test.wit
#	tests/runtime/lists/wasm.cs

@yowl yowl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a brief look through and looks like a good improvement! Thanks!

@silesmo

silesmo commented Apr 8, 2026

Copy link
Copy Markdown
Member Author

Had a brief look through and looks like a good improvement! Thanks!

Do you have the time to leave a review so I can merge it in?

@yowl

yowl commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

As I wasn't one of the original reviewers I was going to leave it for them, but I will review it with previous comments in mind,

@yowl yowl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Comment thread crates/csharp/src/function.rs Outdated
Comment thread crates/csharp/src/world_generator.rs Outdated
@yowl

yowl commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

Looks good, thanks!

Just the small question on the use of int where nint might future proof us better for wasm64

@yowl yowl added this pull request to the merge queue Apr 10, 2026
Merged via the queue into bytecodealliance:main with commit 4992ae6 Apr 10, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants